//
//  SPRechargeViewController.m
//  panzer
//
//  Created by 还带大道 on 2018/10/21.
//  Copyright © 2018年 还带大道. All rights reserved.
//

#import "SPRechargeViewController.h"
#import "SPCommon.h"
#import "SPSelectPayTypeView.h"

@interface SPRechargeViewController ()

@property (weak, nonatomic) IBOutlet UIButton *okBtn;
@property (weak, nonatomic) IBOutlet UITextField *textFiled;
@property (weak, nonatomic) IBOutlet UILabel *payName;
@property (weak, nonatomic) IBOutlet UIImageView *pay_icon;

@end

@implementation SPRechargeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"充值";
    _okBtn.layer.cornerRadius = 4;
}


- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    [self.view endEditing:YES];
}


- (IBAction)selectPayType:(id)sender {
    
    [self.view endEditing:YES];
    SPSelectPayTypeView *view = [SPSelectPayTypeView shareHeaderView];
    view.finishBlock = ^{
       
    };
    view.frame = RZ_KEYWINDOW.bounds;
    [RZ_KEYWINDOW addSubview:view];
}



- (IBAction)okBtnOnClick:(UIButton *)sender {
    
}

@end
